package com.sinping.qh.service.app.records;

import com.sinping.qh.api.support.FrontPage;
import com.sinping.qh.api.support.ResDto;
import com.sinping.qh.domain.records.HiddendangerRecord;
import com.sinping.qh.dto.app.records.HiddendangerByAppDTO;
import com.sinping.qh.dto.app.records.RectifyReviewByAppDTO;

/**
 * @author zhangjin
 * @create 2018/5/29
 */
public interface IHiddenDangerService {


    HiddendangerByAppDTO save(HiddendangerByAppDTO hiddendangerByAppDTO);

    /**
     * 分页查询
     * @param frontPage
     * @return
     */
    FrontPage findPage(FrontPage frontPage);

    HiddendangerByAppDTO findOne(String id);


    boolean delete(String id);

    HiddendangerByAppDTO update(HiddendangerByAppDTO hiddendangerByAppDTO);


    boolean hiddenDangerRectify(RectifyReviewByAppDTO rectifyReviewByAppDTO);

    boolean hiddenDangerReview(RectifyReviewByAppDTO rectifyReviewByAppDTO);

    FrontPage rectifyRecviewByHDId(FrontPage frontPage);


//    void updateHiddenDangerByOffLine(HiddendangerByAppDTO hiddendangerByAppDTO);

}
